package kz.pvnhome.pimrestore.pim;

public class SrcRec {
   private String name;
   private String value = "";
   
   private int cnt = 0;

   public SrcRec(String name) {
      this.name = name;
   }

   public String getName() {
      return name;
   }

   public void setName(String name) {
      this.name = name;
   }

   public String getValue() {
      return value;
   }

   public void setValue(String value) {
      this.value = value;
      
      if (value != null && !value.isEmpty()) {
         cnt++;
      }
   }

   public int getCnt() {
      return cnt;
   }
}
